package redis

import "strconv"

func GetGoodsStatus(GoodsId int64) int {
	key := "goods_status:goods_id" + strconv.Itoa(int(GoodsId))
	return int(Client.LLen(key).Val())
}
